<body>
<link href="__PUBLIC__/common/js/jshighlight/default.css" rel="stylesheet" />
<style type="text/css">
    [data-language]:before{font-style: italic;font-size: 45px;float: right;margin-top: 10px;color: goldenrod;/*position: relative;*/z-index: -1;opacity: 0.3;filter:alpha(opacity=30);}
</style>
<div class="path fn-clear"><span class="fb">首页</span><a href="{url('themes/indextpl')}">模版管理</a>    
{loop $path $key $vo}
<?php
    if($key){
        $pathdir = $pathdir.'/'.$vo;
    }else{
        $pathdir = $vo;
    }
?>
{if $vo == $files}<a href="{url('themes/edittpl',array(dir=>$pathdir,files=>$vo))}">{else}<a href="{url('themes/indextpl',array(dir=>$pathdir))}">{/if}{$vo}</a>{/loop}
</div>
<div class="ui-form">
<form id="uform" action="{url('themes/edittpl')}" method="post">
<input type="hidden" name="filepath" value="{$filepath}" />
<input type="hidden" name="files" value="{$files}"/>
<pre id="html" data-language="html">{htmlspecialchars($filecontents)}</pre>
</form>
</div>
<script src="__PUBLIC__/common/js/jshighlight/jshighlight.js"></script>
</body>